#-------------------------------------------------------------------------------
# Name:        Minigame
# Purpose:
#
# Author:      Pablo
#
# Created:     27/04/2013
# Copyright:   (c) Monxcleyr Productions 2013
# Licence:     GPL v3
#-------------------------------------------------------------------------------
#!/usr/bin/env python

import pygame

class MiniGame():

  """class comment"""

  def __init__(self, common, debug):
    self.common = common
    self.menuSurface = pygame.Surface(self.common.initsize)
    self.debug = debug
    self.bg = pygame.image.load('resources/graphics/minigame/minigame.bmp')
    self.bg.set_colorkey((255,0,255))
    self.cursor = pygame.image.load('resources/graphics/common/cursor.bmp')
    self.cursor.set_colorkey((255,0,255))


  def draw(self, gameS, mouse):

    # Draw the bg of the main screen here, so it looks liek the game is puased
    self.menuSurface.blit(gameS, (0,0))

    # MINIGAME CODE GOES HERE

    self.menuSurface.blit(self.bg, (0,0))





    self.menuSurface.blit(self.cursor, mouse[0])
    # Return teh surface to be drawn, and whatever else would be needed
    return self.menuSurface